package org.zxp.javacheck.consoletable;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2020-08-26 19:31
 **/
public class Test {
    public static void main(String[] args){
        List<String> title = Arrays.asList("资方","产品","当天授信成功数量","当天支用成功数量");
        //List<List<String>> values = Arrays.asList(Arrays.asList("金服"),Arrays.asList("好销贷"),Arrays.asList("33"),Arrays.asList("当天支用成功数量"));
        Map<String,Integer> map = new HashMap<>();
        List<List<String>> values = Arrays.asList(Arrays.asList("金服","好销贷","33","2"));
        TextTable textTable = new TextTable(title,values);
        System.out.println(textTable.printTable());


	//public TextTable(List<String> columnNameListTmp,List<List<String>> columnValueListTmp){
    }


}
